﻿/****************************************************************************************************************************
 *  ilya lehrman (ilya@inworksllc.com)
 *  March 2011
 *  v1.1
 *  http://sp2010metadataimport.codeplex.com/
 * **************************************************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//"Term Set Name","Term Set Description","LCID","Available for Tagging","Term Description","Level 1 Term","Level 2 Term","Level 3 Term","Level 4 Term","Level 5 Term","Level 6 Term","Level 7 Term"

namespace UpdateTaxonomy
{
    [FileHelpers.DelimitedRecord(",")]
    [FileHelpers.IgnoreFirst]
    public class ManagedMetadataEntity
    {
        [FileHelpers.FieldOptional]
        [FileHelpers.FieldQuoted]
        public string TermSetName;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string TermSetDescription;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string LCID;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string AvailableForTagging;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string TermDescription;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level1Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level2Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level3Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level4Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level5Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level6Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string Level7Term;
        [FileHelpers.FieldQuoted]
        [FileHelpers.FieldOptional]
        public string GuidString;
    }
}
